/* ===== GENERAL STYLES ===== */
:root {
    --primary-red: #9B111E;
    --cream-bg: #faf8dc;
    --dark-text: #2A2A2A;
    --card-bg: #fcf4c7;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Jost', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: var(--cream-bg);
    color: var(--dark-text);
    overflow-x: hidden;
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(254, 244, 198, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(155, 17, 30, 0.1) 0%, transparent 50%);
}

h1, h2, h3 {
    font-family: 'MADE TOMMY', sans-serif;
}

h1 {
  font-size: clamp(28px, 6vw, 50px);
  line-height: 1.3;
  margin-bottom: 2rem;
}

.highlight {
  color:var(--primary-red); /* red color */
  font-weight: bold; /* optional to emphasize */
}
p {
    font-family: 'made tommy', sans-serif;
    color: var(--dark-text);
}

h2 {
    font-size: clamp(24px, 5vw, 32px);
    margin-bottom: 1.5rem;
    color: var(--primary-red);
}

h3 {
    font-size: clamp(20px, 4vw, 24px);
    margin-bottom: 1rem;
    color: #7a0d17;
}

p {
    font-size: clamp(16px, 2.5vw, 18px);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px;
}

section {
    padding: 80px 15px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.content {
    margin-top: 100px;
    text-align: center;
    padding: 0 15px;
}

/* ===== LOGO & NAVIGATION ===== */
#logo-container {
    position: fixed;
    top: 10px;
    left: 20px;
    z-index: 200;
    width: 100px;
    height: 100px;
    transition: transform 0.3s ease;
}

#logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: filter 0.3s ease;
}

#logo-container:hover {
    transform: scale(1.1);
}

.nav-container {
    display: flex;
    justify-content: center;
    position: fixed;
    width: 95%;
    max-width: 800px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: rgba(155, 17, 30, 0.7); /* Enhanced red glass effect */
    border-radius: 26px;
    padding: 10px;
    backdrop-filter: blur(12px) saturate(200%);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle border for glass effect */
}

nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--cream-bg); /* Text color matches the cream background */
    padding: 8px 15px;
    font-weight: 600;
    border-radius: 26px;
    transition: all 0.3s;
    font-size: clamp(12px, 2vw, 16px);
    white-space: nowrap;
}

nav a:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2)); /* Slightly brighter hover effect */
    color: var(--cream-bg); /* Keep text color consistent */
    transform: translateY(-2px) scale(1.05); /* Slight hover lift */
}

nav a.active {
    color: var(--cream-bg); /* Keep text color consistent */
    transform: scale(1.1);
    box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.3), inset -3px -3px 6px rgba(255, 255, 255, 0.2); /* Enhanced inner shadow for active state */
}

.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--cream-bg);
    margin: 3px 0;
    transition: all 0.3s;
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ===== BUTTONS ===== */
.home-buttons {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    font-size: clamp(16px, 2vw, 18px);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.view-designs {
    background: var(--primary-red);
    color: var(--cream-bg);
}

.get-started {
    background: var(--cream-bg);
    color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.view-designs:hover {
    background: #7a0d17;
}

.get-started:hover {
    background: #e8e4b0;
}

/* ===== SCROLLING ANIMATIONS ===== */
.scrolling-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 30px 0;
    padding: 20px 0;
    will-change: transform;
}

.scrolling-container::before,
.scrolling-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px; /* Adjust width as needed */
    pointer-events: none;
    z-index: 1;
}

.scrolling-container::before {
    left: 0;
    width: 6px; /* Further reduced size for a softer edge */
    background: linear-gradient(to right, var(--cream-bg), rgba(250, 248, 220, 0.2)); /* Softer gradient */
}

.scrolling-container::after {
    right: 0;
    width:6px; /* Further reduced size for a softer edge */
    background: linear-gradient(to left, var(--cream-bg), rgba(250, 248, 220, 0.2)); /* Softer gradient */
}

.scrolling-track {
    display: flex;
    width: max-content;
}

.image-track {
    animation: scroll-left 20s linear infinite;
}

.poster-track {
    animation: scroll-right 20s linear infinite;
}

.image-box, .poster-box {
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 15px;
    position: relative;
}

.image-box {
    width: clamp(200px, 35vw, 280px); /* Reduced size for small devices */
    height: clamp(112px, 20vw, 160px); /* Adjusted height */
    margin: 0 8px;
}

.poster-box {
    width: clamp(140px, 22vw, 200px); /* Reduced size for small devices */
    height: clamp(180px, 30vw, 240px); /* Adjusted height */
    margin: 0 6px;
}

.image-box img, .poster-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.4s ease;
}

.image-box:hover, .poster-box:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(0,0,0,0.01);
}

.image-box:hover img, .poster-box:hover img {
    transform: scale(1.05);
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

@media (max-width: 768px) {
    .image-box {
        width: clamp(160px, 30vw, 220px); /* Further reduced for smaller screens */
        height: clamp(90px, 18vw, 130px); /* Adjusted height */
    }

    .poster-box {
        width: clamp(120px, 20vw, 180px); /* Further reduced for smaller screens */
        height: clamp(160px, 28vw, 200px); /* Adjusted height */
    }
}

/* ===== DESIGN GRID ===== */
#designs .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
    width: 100%;
}
#designs h13 {
    background: var(--primary-red);
    color: var(--cream-bg);
    border-radius: 19px;
    padding: 8px 18px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 20px;
    font-size: clamp(16px, 2.5vw, 18px);
}
#designs .design-box {
    position: relative;
    transition: transform 0.3s ease;
}

#designs .design-box:hover {
    transform: translateY(-5px);
}

#designs .image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-in-out;
}

#designs .image-wrapper:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

#designs .front-image,
#designs .back-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

#designs .front-image {
    z-index: 2;
    transform: translateX(0%);
}

#designs .back-image {
    z-index: 1;
    filter: brightness(0.95);
}

#designs .image-wrapper:hover .front-image {
    transform: translateX(100%);
}

#designs .design-box p {
    margin-top: 12px;
    text-align: center;
    font-weight: bold;
    color: var(--primary-red);
    font-size: clamp(14px, 2vw, 16px);
}

/* ===== SERVICES SECTION ===== */
#services {
    margin: 0;
    background: var(--cream-bg);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 0 100vmax var(--cream-bg);
    clip-path: inset(0 -100vmax);
}
.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 1rem;
}

.service-card {
    perspective: 1000px;
    opacity: 0;
    transform: translateY(30px);
    animation: cardAppear 0.6s forwards;
}

.service-card:nth-child(1) { animation-delay: 0.2s; }
.service-card:nth-child(2) { animation-delay: 0.4s; }
.service-card:nth-child(3) { animation-delay: 0.6s; }

.card-inner {
    position: relative;
    background: var(--card-bg);
    border-radius: 20px;
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.card-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.2s ease;
}

.card-inner:hover .service-image {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-red);
}

.card-content p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    flex-grow: 1;
    max-width: 100%;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background: var(--primary-red);
    color: var(--cream-bg);
    text-decoration: none;
    border-radius: 10px;
    transition: var(--transition);
    font-weight: 600;
    width: fit-content;
    margin-top: auto;
}

.service-cta:hover {
    background: #7D0E1A;
    transform: translateX(5px);
}

.cta-arrow {
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

.service-cta:hover .cta-arrow {
    transform: translateX(3px);
}

@keyframes cardAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== WHY US SECTION ===== */

#whyus {
    margin: 0;
    background: var(--cream-bg);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 0 100vmax var(--cream-bg);
    clip-path: inset(0 -100vmax);
}
.whyus-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

@media (min-width: 768px) {
    .whyus-container {
        flex-direction: row;
        gap: 4rem;
        padding: 3rem;
    }
}

.content-section {
    flex: 1;
}

.intro {
    font-size: clamp(2rem, 6vw, 2.5rem)!important;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    font-family: 'jost bold', sans-serif;
    text-align: left;
}

.sub-intro {
    font-size: clamp(1.5rem, 5vw, 1.8rem)!important;
    color: #c83535;
    margin: 0.5rem 0;
    font-family: 'Jost regular', sans-serif;
    text-align: left;
}

.description {
    font-style: italic;
    font-size: clamp(1rem, 2.5vw, 1.2rem)!important;
    line-height: 1.6;
    margin: 1.5rem 0;
    max-width: 800px;
    text-align: left;
}

.highlight {
    color: #e74848;
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    max-width: 800px;
    margin: 2rem 0;
}

.faq {
    background: var(--cream-bg);
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(155, 17, 30, 0.2);
}

.faq:hover {
    transform: translateY(-3px);
}

.faq-question {
    background-color: var(--primary-red);
    color: var(--cream-bg);
    padding: 1.2rem;
    cursor: pointer;
    font-weight: 600;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #9b111e;
}

.faq-answer {
    padding: 0 1.2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background: rgba(255, 253, 212, 0.5);
}

.faq-answer.show {
    padding: 1.2rem;
    max-height: 500px;
}

/* Profile Section */
.profile-section {
    position: relative;
    margin: 2rem auto;
    text-align: center;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
}

@media (min-width: 768px) {
    .profile-section {
        position: sticky;
        top: 120px;
        height: fit-content;
        margin: 0;
        padding-bottom: 0;
        align-self: flex-start;
    }
}

.profile-bubble {
    background-color: var(--cream-bg);
    border-radius: 50%;
    width: 250px;
    height: 250px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    animation: floatPic 3s ease-in-out infinite;
}

@media (min-width: 768px) {
    .profile-bubble {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .profile-bubble {
        width: 200px;
        height: 200px;
    }
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-arrow {
    position: relative;
    margin-top: 20px;
    width: 100px;
    height: auto;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .profile-arrow {
        margin-top: 40px;
    }
}

.arrow-text {
    font-family: 'Patrick Hand', cursive;
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    color: var(--primary-red);
    white-space: nowrap;
    margin-top: 10px;
    position: relative;
    animation: arrowBounce 2s infinite;
}

/* Animations */
@keyframes floatPic {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(-10px); 
    }
}

@keyframes arrowBounce {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(10px); 
    }
}
/* === Design Process Styles (Updated) === */
        .process-title {
            font-size: clamp(28px, 6vw, 40px);
            line-height: 1.2;
            margin-bottom: 2.5rem;
            font-family: 'Jost', sans-serif !important;
            color: var(--primary-red);
            text-align: center;
            position: relative;
            padding-bottom: 15px;
        }
        
        .process-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--primary-red);
            border-radius: 2px;
        }
        
        .process-container {
            max-width: 1000px;
            margin: 0 auto;
            position: relative;
        }
        
        .step {
            position: relative;
            display: flex;
            align-items: flex-start;
            margin-bottom: 50px;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.6s ease forwards;
        }
        
        .step:nth-child(1) { animation-delay: 0.2s; }
        .step:nth-child(2) { animation-delay: 0.4s; }
        .step:nth-child(3) { animation-delay: 0.6s; }
        .step:nth-child(4) { animation-delay: 0.8s; }
        .step:nth-child(5) { animation-delay: 1.0s; }
        
        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .circle {
            width: 40px;
            height: 40px;
            border: 3px solid var(--primary-red);
            border-radius: 50%;
            background-color: var(--light-cream);
            font-size: 20px;
            color: white;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            z-index: 2;
            transition: all 0.4s ease;
        }
        
        .circle span {
            opacity: 0;
            transform: scale(0.5);
            transition: opacity 0.4s ease, transform 0.4s ease;
            color: white;
            user-select: none;
        }
        
        .step.active .circle {
            background-color: var(--primary-red);
        }
        
        .step.active .circle span {
            opacity: 1;
            transform: scale(1);
        }
        
        .content {
            margin-left: 20px;
        }
        
        .content h3 {
            font-size: clamp(20px, 4vw, 24px);
            margin: 0;
            color: #222;
            margin-bottom: 8px;
        }
        
        .content p {
            font-size: clamp(15px, 3.5vw, 16px);
            color: #444;
        }
        
        .step::before {
            content: '';
            position: absolute;
            top: 56px;
            left: 19px;
            width: 4px;
            height: calc(100% + 6px);
            background: var(--primary-red);
            border-radius: 10px;
            z-index: 1;
            opacity: 0.3;
        }
        
        .step:last-child::before {
            display: none;
        }
        
        /* Responsive adjustments for small devices */
        @media (max-width: 767px) {
            .container {
                padding: 30px 20px;
            }
            
            .step {
                margin-bottom: 40px;
                align-items: flex-start;
            }
            
            .step::before {
                top: 52px;
                height: calc(100% + 10px);
            }
            
            .content h3 {
                margin-bottom: 6px;
            }
            
            .content p {
                line-height: 1.5;
            }
        }
        
        /* Very small devices */
        @media (max-width: 480px) {
            .step {
            margin-bottom: 24px; /* increased gap between steps */
            flex-direction: row;
            align-items: center;
            }
            
            .circle {
            width: 32px;
            height: 32px;
            font-size: 16px;
            margin-right: 14px; /* more gap between circle and content */
            }
            
            .content {
            margin-left: 0;
            margin-top: 0;
            text-align: left;
            flex: 1;
            }
            
            .step::before {
            display: none;
            }
        }
        /* Desktop layout */
        @media (min-width: 768px) {
            .process-container {
                display: flex;
                justify-content: space-between;
                align-items: flex-start;
                flex-wrap: nowrap;
            }
            
            .step {
                flex-direction: column;
                align-items: center;
                text-align: center;
                width: 18%;
                margin: 0;
            }
            
            .step::before {
                content: '';
                position: absolute;
                top: 20px;
                left: calc(50% + 30px);
                height: 4px;
                width: calc(100% - 60px);
                background: var(--primary-red);
                border-radius: 10px;
                z-index: 1;
                opacity: 0.3;
            }
            
            .step:last-child::before {
                display: none;
            }
            
            .content {
                margin-left: 0;
                margin-top: 10px;
            }
        }
        

/* ===== TESTIMONIALS SECTION ===== */

#testimonials{
    background: var(--cream-bg);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 0 100vmax var(--cream-bg);
    clip-path: inset(0 -100vmax);
}
.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    padding: 30px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    position: relative;
    background: linear-gradient(145deg, var(--primary-red), #a73737);
    color: var(--cream-bg);
    width: 300px;
    padding: 20px 30px;
    border-radius: 16px;
    transition: var(--transition);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
}

.testimonial:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    transform: translateY(-5px);
}

.circle-badge {
    position: absolute;
    top: -20px;
    right: 20px;
    height: 60px;
    width: 60px;
    background-color: var(--cream-bg);
    border: 2px solid var(--primary-red);
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial:hover .circle-badge {
    transform: rotate(15deg) scale(1.4);
}

.circle-badge img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.5s ease;
}

.circle-badge:hover img {
    transform: scale(1.1);
}

.stars {
    color: #f9d71c;
    font-size: 1.2rem;
    margin-bottom: 6px;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.95; }
    50% { opacity: 1; }
    100% { opacity: 0.95; }
}

.name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 400;
}

/* Responsive adjustments for testimonials */
@media (min-width: 769px) and (max-width: 1023px) {
    .testimonials-container {
        max-width: 660px;
    }
    
    .testimonial:nth-child(3) {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 20px;
    }
    
    .testimonial:nth-child(3):hover {
        transform: translateX(-50%) translateY(-5px);
    }
}

@media (max-width: 768px) {
    .testimonials-container {
        gap: 60px;
    }
    
    .testimonial {
        width: 85%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .testimonial {
        width: 90%;
        padding: 18px 25px;
    }
}

/* ===== CONTACT SECTION ===== */

#contact {
    background: var(--cream-bg);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 0 100vmax var(--cream-bg);
    clip-path: inset(0 -100vmax);
}
.contact-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    background: transparent;
    gap: 40px;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    max-width: 480px;
    padding: 20px;
}

.input-group {
    margin-bottom: 24px;
    position: relative;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--primary-red);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Jost', sans-serif;
    color: var(--cream-bg);
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--cream-bg);
    opacity: 0.9;
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f8d8c4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

.contact-form textarea {
    height: 140px;
    resize: none;
}

.contact-submit-btn {
    background-color: var(--primary-red);
    color: var(--cream-bg);
    font-size: 17px;
    font-weight: 500;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 25px auto 0;
    width: 100%;
    max-width: 200px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.contact-submit-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-socials {
    flex: 0 0 280px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-socials .social-links {
    display: flex;
    flex-direction: column;
    gap: 50px;
    width: 100%;
    max-width: 240px;
}

.contact-socials .social-links a {
    display: flex;
    align-items: center;
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 19px;
    gap: 14px;
    padding: 12px 18px;
    transition: all 0.3s ease;
    position: relative;
}


.contact-socials .social-links i {
    font-size: 26px;
    width: 36px;
    text-align: center;
    color: var(--dark-text);
}

@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-form,
    .contact-socials {
        width: 100%;
        max-width: 500px;
        padding: 10px 0;
    }
    
    .contact-socials .social-links {
        max-width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .contact-socials .social-links a {
        flex: 0 0 calc(50% - 10px);
        justify-content: center;
        padding: 14px 10px;
    }
}

@media (max-width: 576px) {
    .contact-container {
        padding: 0;
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 13px 16px;
    }
    
    .contact-submit-btn {
        padding: 13px 25px;
        max-width: 180px;
        font-size: 16px;
    }
    
    .contact-socials .social-links a {
        flex: 0 0 100%;
    }
}

/* ===== FOOTER ===== */
footer {
    background: var(--primary-red);
    color: var(--cream-bg);
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'MADE TOMMY Thin', sans-serif;
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 300; /* add thin font weight */
    width: 100vw;
    margin: 0;
    padding: 0;
    position: relative;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    border-top: 2px solid var(--cream-bg);
}

/* Remove bottom margin on <p> if used */
footer p {
    margin: 0;
    color: var(--cream-bg)!important;
    font-weight: 300; /* ensure thin font for <p> */
}



/* ===== LOADING SPINNER ===== */
.loading-spinner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 253, 212, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--primary-red);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 992px) {
    .nav-container {
        padding: 8px 15px;
    }
    
    nav a {
        padding: 8px 12px;
    }
    
    #designs .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #logo-container {
        width: 50px;
        height: 50px;
        top: 15px;
        left: auto;
        right: 15px;
    }
    
    .nav-container {
        width: 98%;
        padding: 8px 10px;
        justify-content: space-between;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-red);
        border-radius: 0 0 20px 20px;
        padding: 15px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        flex-direction: column;
        gap: 10px;
    }

    nav.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .content {
        margin-top: 80px;
    }

    section {
        padding: 60px 10px;
        min-height: auto;
    }

    .image-box {
        margin: 0 8px;
    }

    .poster-box {
        margin: 0 6px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-image {
        height: 180px;
    }
}

@media (max-width: 600px) {
    #designs .grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    section {
        padding: 40px 10px;
    }
    
    .home-buttons {
        flex-direction: column;
        gap: 15px;
        margin: 20px 0;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 24px;
        margin-bottom: 1.5rem;
    }

    h2 {
        font-size: 20px;
        margin-bottom: 1rem;
    }

    p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .scrolling-container {
        margin: 20px 0;
        padding: 15px 0;
    }

    footer {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        border-radius: 20px;
    }
    
    nav a {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    section {
        padding: 30px 8px;
    }
    
    #logo-container {
        width: 90px;
        height: 90px;
        top: 0px;
        right: 12px;
    }
    
    .services-container {
        padding: 1rem 0;
    }
    
    .card-content {
        padding: 1.2rem;
    }
}